﻿using System;
using Core;
using NUnit.Framework;

namespace Tests
{
    [TestFixture]
    public class TileTests
    {
        [Test]
        public void Tiles_should_compare_by_character_and_score()
        {
            var thus = new Tile("A", 1);
            var that = new Tile("A", 1);
            Assert.AreEqual(thus, that);
        }

        [Test]
        public void Should_retrieve_random_tile()
        {
            for (int i = 0; i < 1000; i++)
            {
                Console.Write(Tiles.GetRandomTile().Character);
            }
        }
    }
}
